package com.alibaba.dingtalk.openapi.vo.oa;

import lombok.Getter;

import java.io.Serializable;
import java.util.List;

/**
 * 任务更新DTO
 *
 * @author LiZhikang
 * @date 2023/3/16 14:28
 */
@Getter
public class TaskUpdateDTO implements Serializable {
    private static final long serialVersionUID = -3723130976914878444L;
    /**
     * 实例Id
     */
    private String processInstanceId;
    /**
     * 任务列表
     */
    private List<TaskFormDTO> tasks;

    public TaskUpdateDTO(String processInstanceId, List<TaskFormDTO> tasks) {
        this.processInstanceId = processInstanceId;
        this.tasks = tasks;
    }
}
